package com.atguigu.springbootdemo.mapper;


import com.atguigu.springbootdemo.bean.Customer;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface CustomerMapper {

    /*@Select("select * from customer")
    public List<Customer> getCustomerList();

    @Select("select * from customer where id=#{id}")
    public Customer getCustomerById(Long id);

    @Select("select * from customer")
    public List<Customer> selectCustomerList();

    @Insert("insert into customer(name,age) values (#{customer.name},#{customer.age})")
    public void insertCustomer (@Param("customer") Customer customer);

    @Update("update customer set age=#{customer.age} where id=#{customer.id}")
    public void updateCustomer (@Param("customer") Customer customer);

    @Delete("delete customer_info where id = #{id}")
    public void deleteCustomerById(Long id);*/



}
